cnb\admin\settings\CnbSettingsController B

Total Complexity 95
Dependencies 10
Dependents 4
Total lines 466
Lines of code 288
Logical lines of code 174
Comment lines 112
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
validate_options()
C
37 26 68
post_option_cnb()
A
58 18 12
parseApiAndOttHeader()
A
46 10 38
get_api_key_from_ott()
S
51 7 25
update_user_email_opt_in()
S
60 5 13
delete_all_settings()
S
53 4 23
disallow_active_without_phone_number()
S
63 5 9
is_version_upgrade()
S
65 4 9
getApiKey()
S
60 3 14
override_changelog_version()
S
62 3 11
getStatus()
S
77 3 3
set_default_settings()
S
64 3 9
get_defaults()
S
52 1 27
redirect_to_delete_all_settings()
S
60 1 14
update_version()
S
82 1 3
set_changelog_version()
S
65 1 10